package com.yifeng.repo.tookit.oss.model;

import lombok.Data;

import java.util.Date;

@Data
public class OssObject {
    private String name;
    private String etag;
    private String contentType;
    private long contentLength;
    private Date lastModify;

    @Override
    public String toString() {
        return name + " (" + contentLength + "/" + lastModify + ")";
    }
}